package com.sky.service;

import java.util.List;
import java.util.Map;

import com.sky.mapper.model.User;

/**
 * @author Administrator
 *
 */
public interface UserService {

		/**
		 * 添加用户
		 * @param u
		 */
		public void add(User u);

		/**
		 * 登录用户验证账户密码
		 * @param u
		 * @return
		 */
		public List<User> check(User u);

		public List<User> query(Map<String, Object> param);

		public void delete(int uid);

		public void update(User u);
}
